<?php
$this->breadcrumbs=array(
    '教学队伍',
    '教学成果',
);

?>
<?php
$this->menuitemName = '教学队伍';
$this->menuList = array();
$this->menuList[] = array('label'=>'教学成果', 
    'url'=>'display/teachingachievement'
);
$this->menuList[] = array('label'=>'教学水平', 
    'url'=>'display/view/9/2'
);

?>

    <div class="panel panel-box" style="overflow:hidden;">
        <div class="panel-heading">
            <h3 class="panel-title">
                <?php echo '教学成果'; ?>
            </h3>
        </div>
        <div class="panel-body" style="padding:50px">
        <?php
            $this->widget('zii.widgets.grid.CGridView', array(
                'dataProvider'=>$dataProvider,
                'columns'=>array(
                    array(
                        'class'=>'CLinkColumn',
                        'header'=>'标题',
                        'labelExpression'=>'$data->title',
                        'urlExpression'=>'Yii::app()->createURL("achievement/viewteaching", array("id"=>"$data->id"))',
                    ),
                    array(
                        'name'=>'views',
                        'value'=>'$data->views',
                        'htmlOptions'=>array('style'=>'width:100px')
                    ),
 
                ),
            ));
        ?>
        </div>
    </div>

